package com.kerio;

/**
 * Created by hetao on 2018/3/20.
 */
public abstract class DodishTemplate {
    //整体的一个过程
    protected void  doDish(){
        this.preparation();
        this.doing();
        this.carriedDishes();
    }

    //备料
    public abstract void preparation();
    //做菜
    public abstract void doing();
    //上菜
    public abstract void carriedDishes();
}
